package com.cy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cy.entity.UserVocabulary;

/**
 * @author 残影
 * @date 2021/2/27 11:30
 */
public interface UserVocabularyService extends IService<UserVocabulary> {
    /**
     * 根据书本id和章节名称加入我的学习词汇中
     * @param bookId
     * @param tag
     * @param userId
     * @return
     */
    int addStudy(String bookId, String tag, Long userId);
}
